/**
 * 路径的辅助类
 */
import path from "path";

export default class Path{
    static formatt(filePath:string,sep:string = path.sep):string{
        return filePath.replace(/[\/\\]+/g,sep)
    }

    static join(...data:string[]):string{
        return this.formatt(path.join(...data))
    }

    
}